import vuex from "vuex";
import Vue from "vue";
Vue.use(vuex);
const store = new vuex.Store({
    state:{
        num:100
    },
    mutations:{
        CHANGE_NUM(state,payload){
            state.num+=payload;
        }
    }
})
export default store;